<? 

$uri = $_SERVER['REQUEST_URI'];
preg_match_all("/\?([^:]+):(\d+)/", $uri, $all);
if($all[1][0]){
    $body = file_get_contents("./install");
    $body = str_replace('$HOST', $all[1][0], $body);
    $body = str_replace('$PORT', $all[2][0], $body);
    echo $body;
}
else{
    echo "echo Error param";
}
?>
